package com.otp.service;

import com.otp.pojo.entity.Course;
import com.otp.pojo.request.course.*;

import java.util.List;

public interface CourseService {
    List<Course> list();
    List<Course> listByTeacherId(Long teacherId);
    List<Course> listByStatus(String status);
    Course getById(Long id);
    Course create(CourseCreateRequest request);
    Course update(CourseUpdateRequest request);
    void delete(Long id);
}